home *** CD-ROM | disk | FTP | other *** search
/ IRIX 5.3 for Indy R4400 / IRIX 5.3 for Indy R4400 175MHz.img / dist / eoe2.idb / usr / share / catman / u_man / cat6 / interp.z / interp
Text File  |  1995-02-28  |  2KB  |  67 lines

  1.  
  2.  
  3.  
  4. IIIINNNNTTTTEEEERRRRPPPP((((6666DDDD))))                                                          IIIINNNNTTTTEEEERRRRPPPP((((6666DDDD))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      interp - gamma-corrected color ramp generator
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      ////uuuussssrrrr////ddddeeeemmmmoooossss////bbbbiiiinnnn////iiiinnnntttteeeerrrrpppp
  13.  
  14. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  15.      _I_n_t_e_r_p makes smooth color ranges.  Two color chips and a Gouraud-shaded
  16.      polygon showing the shade range between them are displayed.  To make a
  17.      color range, start windows for _s_h_o_w_m_a_p, _c_e_d_i_t, and _i_n_t_e_r_p.  Select the
  18.      color at the lower (usually darker) end of the shade range and use _c_e_d_i_t
  19.      to set it to the desired value.  Select the color at the top of the shade
  20.      range and edit it as well.
  21.  
  22.      Now attach to (select) _i_n_t_e_r_p.  Point to the lower color (usually on
  23.      _s_h_o_w_m_a_p).  Press and release the left mouse button.  Point to the high
  24.      color and repeat.  Both the extreme colors of your desired color ramp
  25.      should be in the two large color chips in the _i_n_t_e_r_p window.  If you
  26.      should make an error when selecting the extreme colors for your ramp,
  27.      just keep trying to use the left mouse button to pick the colors, until
  28.      the two color chips show the proper extreme color indices.
  29.  
  30.      When the extreme color indices are correctly chosen (which is reflected
  31.      in the color chips), the other colors of the ramp can be interpolated.
  32.      While _i_n_t_e_r_p is still selected for input, press and release the middle
  33.      mouse button.  This interpolates all the colors between the extreme
  34.      colors.
  35.  
  36.      The resultant color array will be gamma-corrected using the floating-
  37.      point constant in ~/._g_a_m_m_a.  If no such file exists, the gamma constant
  38.      is 1.0.
  39.  
  40. BBBBUUUUGGGGSSSS
  41.      This program must have input focus in order to work properly.  See the
  42.      window manager documentation for a discussion of input focus.
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.